package top.dprkshow.springboothelloworld.AOP2;

import org.springframework.stereotype.Component;

/**
 * @author Kent HAN
 * @date 2021/7/5
 */
@Component
public class UserService {
    @Aspected()
    public int serveUser() {
        System.out.println("serve user ......");
//        throw new RuntimeException("error");
        return 8888;
    }
}
